#ifndef STRUCTUREPARSER_H
#define STRUCTUREPARSER_H

#include <QtCore>
#include <QtXml>

#include <stack>
using namespace std;
class StructureParser : public QXmlDefaultHandler
{
public:
    bool startDocument();
    bool startElement( const QString&, const QString&, const QString& ,
                       const QXmlAttributes& );
    bool endElement( const QString&, const QString&, const QString& );

private:
    stack<QString> qNames;
};

#endif
